package com.owc.domain.vo.app;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author Jackies
 * @Date 2019/12/5 22:57
 * @Description TODO://
 **/
@Data
public class TokenVo {

    @NotNull(message = "Please specify the tokenId field")
    private Long tokenId;

    private Long userId;

    public TokenVo(@NotNull(message = "Please specify the tokenId field") Long tokenId, Long userId) {
        this.tokenId = tokenId;
        this.userId = userId;
    }

    public TokenVo() {
    }
}
